package com.ilvyou.data.lcs;

import java.sql.Timestamp;

/**
 * Created by Administrator on 2017/2/13.
 */
public class CollectApoperateEntity {
    private Long collectid;
    private Long pkid;
    private Timestamp freezedate;
    private Timestamp thawdate;
    private Integer sysfreezeflag;
    private Integer systhawflag;
    private Integer artififreezeflag;
    private Integer artifithawflag;
    private Timestamp createdon;
    private String createdby;
    private String createdname;
    private String createdip;
    private String lastedname;
    private Timestamp lastedon;
    private Long lastedby;
    private String lastedip;

    public Long getCollectid() {
        return collectid;
    }

    public void setCollectid(Long collectid) {
        this.collectid = collectid;
    }

    public Long getPkid() {
        return pkid;
    }

    public void setPkid(Long pkid) {
        this.pkid = pkid;
    }

    public Timestamp getFreezedate() {
        return freezedate;
    }

    public void setFreezedate(Timestamp freezedate) {
        this.freezedate = freezedate;
    }

    public Timestamp getThawdate() {
        return thawdate;
    }

    public void setThawdate(Timestamp thawdate) {
        this.thawdate = thawdate;
    }

    public Integer getSysfreezeflag() {
        return sysfreezeflag;
    }

    public void setSysfreezeflag(Integer sysfreezeflag) {
        this.sysfreezeflag = sysfreezeflag;
    }

    public Integer getSysthawflag() {
        return systhawflag;
    }

    public void setSysthawflag(Integer systhawflag) {
        this.systhawflag = systhawflag;
    }

    public Integer getArtififreezeflag() {
        return artififreezeflag;
    }

    public void setArtififreezeflag(Integer artififreezeflag) {
        this.artififreezeflag = artififreezeflag;
    }

    public Integer getArtifithawflag() {
        return artifithawflag;
    }

    public void setArtifithawflag(Integer artifithawflag) {
        this.artifithawflag = artifithawflag;
    }

    public Timestamp getCreatedon() {
        return createdon;
    }

    public void setCreatedon(Timestamp createdon) {
        this.createdon = createdon;
    }

    public String getCreatedby() {
        return createdby;
    }

    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    public String getCreatedname() {
        return createdname;
    }

    public void setCreatedname(String createdname) {
        this.createdname = createdname;
    }

    public String getCreatedip() {
        return createdip;
    }

    public void setCreatedip(String createdip) {
        this.createdip = createdip;
    }

    public String getLastedname() {
        return lastedname;
    }

    public void setLastedname(String lastedname) {
        this.lastedname = lastedname;
    }

    public Timestamp getLastedon() {
        return lastedon;
    }

    public void setLastedon(Timestamp lastedon) {
        this.lastedon = lastedon;
    }

    public Long getLastedby() {
        return lastedby;
    }

    public void setLastedby(Long lastedby) {
        this.lastedby = lastedby;
    }

    public String getLastedip() {
        return lastedip;
    }

    public void setLastedip(String lastedip) {
        this.lastedip = lastedip;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CollectApoperateEntity that = (CollectApoperateEntity) o;

        if (collectid != null ? !collectid.equals(that.collectid) : that.collectid != null) return false;
        if (pkid != null ? !pkid.equals(that.pkid) : that.pkid != null) return false;
        if (freezedate != null ? !freezedate.equals(that.freezedate) : that.freezedate != null) return false;
        if (thawdate != null ? !thawdate.equals(that.thawdate) : that.thawdate != null) return false;
        if (sysfreezeflag != null ? !sysfreezeflag.equals(that.sysfreezeflag) : that.sysfreezeflag != null)
            return false;
        if (systhawflag != null ? !systhawflag.equals(that.systhawflag) : that.systhawflag != null) return false;
        if (artififreezeflag != null ? !artififreezeflag.equals(that.artififreezeflag) : that.artififreezeflag != null)
            return false;
        if (artifithawflag != null ? !artifithawflag.equals(that.artifithawflag) : that.artifithawflag != null)
            return false;
        if (createdon != null ? !createdon.equals(that.createdon) : that.createdon != null) return false;
        if (createdby != null ? !createdby.equals(that.createdby) : that.createdby != null) return false;
        if (createdname != null ? !createdname.equals(that.createdname) : that.createdname != null) return false;
        if (createdip != null ? !createdip.equals(that.createdip) : that.createdip != null) return false;
        if (lastedname != null ? !lastedname.equals(that.lastedname) : that.lastedname != null) return false;
        if (lastedon != null ? !lastedon.equals(that.lastedon) : that.lastedon != null) return false;
        if (lastedby != null ? !lastedby.equals(that.lastedby) : that.lastedby != null) return false;
        if (lastedip != null ? !lastedip.equals(that.lastedip) : that.lastedip != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = collectid != null ? collectid.hashCode() : 0;
        result = 31 * result + (pkid != null ? pkid.hashCode() : 0);
        result = 31 * result + (freezedate != null ? freezedate.hashCode() : 0);
        result = 31 * result + (thawdate != null ? thawdate.hashCode() : 0);
        result = 31 * result + (sysfreezeflag != null ? sysfreezeflag.hashCode() : 0);
        result = 31 * result + (systhawflag != null ? systhawflag.hashCode() : 0);
        result = 31 * result + (artififreezeflag != null ? artififreezeflag.hashCode() : 0);
        result = 31 * result + (artifithawflag != null ? artifithawflag.hashCode() : 0);
        result = 31 * result + (createdon != null ? createdon.hashCode() : 0);
        result = 31 * result + (createdby != null ? createdby.hashCode() : 0);
        result = 31 * result + (createdname != null ? createdname.hashCode() : 0);
        result = 31 * result + (createdip != null ? createdip.hashCode() : 0);
        result = 31 * result + (lastedname != null ? lastedname.hashCode() : 0);
        result = 31 * result + (lastedon != null ? lastedon.hashCode() : 0);
        result = 31 * result + (lastedby != null ? lastedby.hashCode() : 0);
        result = 31 * result + (lastedip != null ? lastedip.hashCode() : 0);
        return result;
    }
}
